﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Payton.WP7.Common.Model
{
    public class DouBanSNSProvider : SNSProvider
    {
        protected override void Initialize()
        {
            base.Initialize();
            this.ProviderName = "豆瓣网";
            this.Type = SNSProviderType.Douban;
            //TODO 增加更多的关于新浪的服务provider配置信息
        }

        protected override Interface.IOAuthService GetAuthriozeService()
        {
            throw new NotImplementedException();
        }

        protected override Configration.OAuthSettings GetAuthSettings()
        {
            throw new NotImplementedException();
        }

        internal override SNSAccount NewAccount()
        {
            var account = base.AccountManager.CreateAccount(SNSProviderType.RenRen);
            return account;
        }

        internal override Uri GetIconUrl()
        {
            return new Uri("/Icons/douban.jpg", UriKind.Relative);
        }

        public override bool IsSupported
        {
            get { return false; }
        }
    }
}
